package com.stedu.service;

import com.stedu.bean.Admin;
import com.stedu.exception.SteduException;

import java.util.List;
import java.util.Map;

public interface AdminService {
    Admin login (String username,String password) throws SteduException;
    List<Map<String, Object>> selectTop5Dept();
    List<Map<String,Object>> selectClassNumber();

    Admin selectById(Integer id);
}
